//
//  LJFFMDBManager.h
//  SevenZhou
//
//  Created by qianfeng on 15/9/23.
//  Copyright (c) 2015年 ljf. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDatabase.h"

@interface LJFFMDBManager : NSObject

@property (nonatomic, strong) FMDatabase *dataBase;

+ (instancetype)shareInstance;

-(void)creatTableOfDataBaseWithTableName:(NSString *)tableName dictionary:(NSDictionary *)dict;

-(void)deleteTableDataOfDBWithName:(NSString *)name;

-(void)deleteTableDataOfDBWithName:(NSString *)name andkeyString:(NSString *)key;

-(FMResultSet *)selectFromTableName:(NSString *)name;

-(FMResultSet *)selectFromTableName:(NSString *)name andkeystring:(NSString *)key;

@end
